package com.ruoyi.system.service;

import com.ruoyi.system.domain.KfnWorkOrderMaAdidas;
import com.ruoyi.system.domain.vo.KfnWorkOrderMaAdidasVo;
import com.ruoyi.system.domain.bo.KfnWorkOrderMaAdidasBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * adidas工单Service接口
 *
 * @author Panda
 * @date 2023-12-21
 */
public interface IKfnWorkOrderMaAdidasService {

    /**
     * 查询adidas工单
     */
    KfnWorkOrderMaAdidasVo queryById(String workOrderId);

    /**
     * 查询adidas工单列表
     */
    TableDataInfo<KfnWorkOrderMaAdidasVo> queryPageList(KfnWorkOrderMaAdidasBo bo, PageQuery pageQuery);

    /**
     * 查询adidas工单列表
     */
    List<KfnWorkOrderMaAdidasVo> queryList(KfnWorkOrderMaAdidasBo bo);

    /**
     * 新增adidas工单
     */
    Boolean insertByBo(KfnWorkOrderMaAdidasBo bo);

    /**
     * 修改adidas工单
     */
    Boolean updateByBo(KfnWorkOrderMaAdidasBo bo);

    /**
     * 校验并批量删除adidas工单信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
